// 判断按钮是否显示
export function buttonDisplayOrNot(arr: any, str: any) {
    if (arr) {
        for (let index = 0; index < arr.length; index++) {
            const element = arr[index];
            if (element == str) {
                return true
            }
        }
    }
    return false
}